package com.ibeeking.found.cop.cp.rest.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ibeeking.found.cop.service.common.bo.CopEmployeeBO;
import com.ibeeking.found.cop.service.common.dos.CopEmployeeDO;
import com.ibeeking.found.cop.service.common.query.CopEmployeePageQuery;
import com.ibeeking.found.cop.service.common.query.CopEmployeeQuery;
import com.ibeeking.found.cop.service.common.vo.CopEmployeeVO;

import java.util.List;

public interface ICopEmployeeService {

    List<CopEmployeeVO> list(CopEmployeeQuery query);

    Page<CopEmployeeVO> pageList(CopEmployeePageQuery pageQuery);

    Page<CopEmployeeVO> pageListWithSubDepartment(CopEmployeePageQuery pageQuery);

    List<CopEmployeeVO> listByDepartmentId(Long departmentId);

    Boolean updateEmployeeById(CopEmployeeDO copEmployeeDO);

    CopEmployeeVO view(Long id);

    CopEmployeeBO queryByEmployeeCode(String employeeCode);

    CopEmployeeBO queryByMobile(String mobile);

    CopEmployeeBO selectById(Long id);

}
